package com.inspire.springboot.kt.study.entity

/**
 * @author     ：inspire
 * @date       ：Created in 2024/5/13 17:42
 * @description：
 * @modified By：inspire
 * @version:
 */
open class Person(var name:String,var age:Int) {
    init {
        println("name is "+name)
        println("age is "+age)
    }
    fun printInfo(){
        println(name+"`s age is "+age)
    }
}